package cn.edu.njust.epms.service;

import cn.edu.njust.epms.entity.HRRecord;
import cn.edu.njust.epms.common.R;
import cn.edu.njust.epms.common.Resp;
import cn.edu.njust.epms.entity.UserDetails;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface HRService {//健康上报实现功能：查询（筛选）、上报
    public Resp<HRRecord> HealthReport(String pid, Boolean uTemp);
    Resp<List<HRRecord>> selectByCondition(R r);

    Resp<String> deleteHRRecord(HRRecord r);

    List<UserDetails> selectUdNotHRToday();
}
